<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>技术支持 - 深圳市零刻云科技有限公司</title>
    <meta name="keywords" content="技术支持 - 深圳市零刻云科技有限公司" />
    <meta name="description" content="技术支持 - 深圳市零刻云科技有限公司" />
    <!-- 引入样式 -->
    <!-- import CSS -->
    <link rel="stylesheet" href="/Web/element.css">
    <link rel="stylesheet" href="/Web/common.css">
    <!-- /* 当屏幕的宽度大于等于400px的时候，应用 mini.css */ -->
<!--    <link rel="stylesheet" type="text/css" href="mini.css" media="screen and (min-width: 400px)">-->
    <!-- /* 当屏幕的宽度大于600 小于800px时，应用small.css */ -->
<!--    <link rel="stylesheet" type="text/css" href="small.css" media="screen and (min-width: 600px) and (max-width: 800px)">-->
    <!-- /* 当屏幕的宽度大于800 小于1100px时，应用midium.css */ -->
<!--    <link rel="stylesheet" type="text/css" href="small.css" media="screen and (min-width: 800px) and (max-width: 1100px)">-->

    <style>
        *{margin: 0;padding: 0;}
        .el-image__inner{
            vertical-align:middle
        }
        h2{font-size: 44px;text-align: center;font-weight: normal;margin-bottom: 56px;}
        .el-input-group__append{background-color: #0068b5;border:0;border-radius: 0;width: 170px;text-align: center;box-sizing: border-box;}
        .el-input-group__append .whiteColor{color: #fff;}
        .searchBox{border:3px solid #0068b5;box-sizing: border-box;}
        .searchBox .el-input__inner{height: 72px;font-size: 20px;text-indent: 1em;}
        .selectBox{display: flex;margin: 70px auto;}.selectBox .el-select{width: 100%;height: 72px;border: 2px solid #e3e3e3;box-sizing: border-box;}
        .selectBox .el-select .el-input{height: 100%;}
        .selectBox .el-select .el-input input{height: 100%;border: 0;border-radius: 0;color: #565656;font-size: 20px;}
        .el-select-dropdown__wrap { max-height: 196px;padding: 20px;box-sizing: border-box;}
        .el-select-dropdown__item{font-size: 21px;height: 38px;line-height: 38px;margin-bottom: 10px;}
        .tableBox{background-color: transparent;margin-bottom: 130px;}
        .tableBox *{background-color: transparent !important;}
        .tableBox .cell{line-height: 80px;color: #3e3e3e;font-size: 16px;}
        .tableBox.el-table .el-table__header .cell{color: #0068b5;font-size: 20px;overflow: visible;white-space: nowrap;}
        .tableBox.el-table tr td:nth-child(4),.tableBox.el-table tr th:nth-child(4){border-bottom: 0;}
        /* .tableBox.el-table{margin-bottom: 20px;} */
        .el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf{border-bottom: 2px solid #c1c1c1;}
        .has-gutter th.el-table__cell.is-leaf{border-bottom: 0;}
        .el-table .cell .iconfont{font-size: 45px;color: #000;    position: absolute;
            bottom: -32px;}
        .el-table .cell{overflow: visible;}
        .el-table,.el-table__body-wrapper{overflow: visible;}
        .el-table--border::after, .el-table--group::after, .el-table::before{background: transparent;}
        .supportContainer{min-height: calc(100vh - 300px);}
        @media screen and (max-width: 1440px) {
            .el-carousel__container{height: 465px;}
        }
    </style>
</head>
<body>
<div id="app" class="mainBg"  v-cloak>
    <!-- 导航栏 -->
    <include file="Public/header" />



    <el-row class="supportContainer" :gutter="0" style="margin:0;margin-top: 80px;">
        <el-col :span="15" style="float: none;margin: auto;">
            <h2 class="mainColor">{{language['Download']}}</h2>
            <el-input :placeholder="language['searchPlaceholder']" v-model="searchText" class="searchBox">
                <span slot="append" class="iconfont bold whiteColor" @click="search" style="font-size: 48px;">&#xe609;</span>
            </el-input>
            <el-row :gutter="20" class="selectBox">
                <el-col :span="24" style="float: none;margin: auto;">
                    <el-select @change="changeFun" v-model="searchSelectText" filterable :placeholder="language['selectPlcaceholder']">
                        <el-option
                                v-for="item in products"
                                :key="item"
                                :label="item"
                                :value="item">
                        </el-option>
                    </el-select>
                </el-col>
            </el-row>
            <el-table class="tableBox" :data="tableData" style="width: 100%">
                <el-table-column prop="name" :label="language.products">

                </el-table-column>
                <el-table-column prop="describe" :label="language.describe">

                </el-table-column>
                <el-table-column prop="utime" :label="language.updateTime"> </el-table-column>
                <el-table-column prop="download" :label="language.download" width="130" align="center">
                    <template slot-scope="scope">
                        <span class="iconfont pointer" @click="downLoad(scope.row)">&#xe607;</span>
                    </template>
                </el-table-column>
            </el-table>
        </el-col>
    </el-row>
    <my-footer></my-footer>

</div>
<script src="/Web/localLang.js"></script>
<script src="/Web/js/vue.js"></script>
<script src="/Web/js/element-ui.js"></script>
<script src="/Web/drawer.js"></script>
<script src="/Web/header.js"></script>
<script src="/Web/footer.js"></script>
<script>
    new Vue({
        el: '#app',
        data: {
            draggable: true,
            resizable: false,
            index: 0,
            visible:false,
            tableData:{:json_encode($firmware)},
            searchSelectText:"{:$_GET['searchSelectText']}",
            searchText:"{:$_GET['searchText']}",
            products:{:json_encode($select)},

            pageId:5,
            lang:Number(localStorage.getItem('langType')),
            hoverItem:0,
            proList:{:json_encode($menuGoods)}
        },
        computed:{
            language(){
                return LANG[this.lang]
            },
            list(){
                return [
                    {id:0,drop:false,text:LANG[this.lang].home,href:'/'},
                    <volist name="menuGoods" id="vo" key="k">
                        {id:{$vo['gc_id']},drop:true, text:'{$vo['gc_name']}',href:"{:U('detail',['gc_id'=>$vo['gc_id']])}"},
                    </volist>
                    {id:3,drop:false,text:LANG[this.lang].quality,href:"{:U('qualification')}"},
                    {id:4,drop:false,text:LANG[this.lang].about,href:"{:U('about')}"},
                    {id:5,drop:false,text:LANG[this.lang].support,href:"{:U('support')}"},
                ]},
        },
        mounted(){

        },
        methods: {
            changePage(item){
                // $emit('changePage',id)
                if(item.id===1)return
                if(item.drop===true)return
                window.location.href=item.href
            },
            search(){
                console.log(this.searchText);//搜索词
                window.location.href="{:U('support')}?searchText="+this.searchText;
            },
            changeLanguage(){
                this.lang = Number(!Number(localStorage.getItem('langType')));
                // this.$parent.parentChangeLang(this.lang?'zh-CN':'en')
                localStorage.setItem('langType',this.lang)
                document.cookie = "langType="+this.lang;
                window.location.reload()
            },
            changeFun(){
                ;
                window.location.href="{:U('support')}?searchSelectText="+this.searchSelectText;
            },
            downLoad(item){
                window.location.href=item.download;
            }
        }
    });
</script>
</body>
</html>